CREATE TABLE [dbo].[TMTBLS_SIST]
(
[CO_SIST] [dbo].[TD_VC_008] NOT NULL,
[CO_TBLS] [dbo].[TD_VC_020] NOT NULL,
[DE_TBLS] [dbo].[TD_VC_050] NULL,
[TI_TBLS] [dbo].[TD_VC_001] NULL,
[DE_OBSE] [dbo].[TD_VC_200] NULL,
[CO_USUA_CREA] [dbo].[TD_VC_008_USUA] NOT NULL CONSTRAINT [DF__TMTBLS_SI__CO_US__531856C7] DEFAULT (substring(suser_sname(),(1),(8))),
[FE_USUA_CREA] [dbo].[TD_DT_001_SIST] NULL CONSTRAINT [DF__TMTBLS_SI__FE_US__540C7B00] DEFAULT (getdate()),
[CO_USUA_MODI] [dbo].[TD_VC_008_USUA] NULL CONSTRAINT [DF__TMTBLS_SI__CO_US__55009F39] DEFAULT (substring(suser_sname(),(1),(8))),
[FE_USUA_MODI] [dbo].[TD_DT_001_SIST] NULL CONSTRAINT [DF__TMTBLS_SI__FE_US__55F4C372] DEFAULT (getdate())
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[TMTBLS_SIST] ADD CONSTRAINT [PK__TMTBLS_S__BF25C53F19FFD4FC] PRIMARY KEY CLUSTERED  ([CO_SIST], [CO_TBLS]) ON [PRIMARY]
GO
GRANT SELECT ON  [dbo].[TMTBLS_SIST] TO [public]
GRANT INSERT ON  [dbo].[TMTBLS_SIST] TO [public]
GRANT DELETE ON  [dbo].[TMTBLS_SIST] TO [public]
GRANT UPDATE ON  [dbo].[TMTBLS_SIST] TO [public]
GO
